#include "Ogre/Ogre.h"

#include "string"

using namespace std;

#pragma once


class BackgroundPicture
{
public:
	BackgroundPicture(string picType,string picName,Ogre::SceneNode* picRootNode,float scale,Ogre::SceneManager * sm);

	void setVisable(bool visable);
	void setScale(float x,float y,float z);
	void setManualPos(float x,float y);

	string getPicName();

	void translate(Ogre::Vector3 translate);
	~BackgroundPicture(void);

private:
	Ogre::SceneManager* _sm;
	string _picType;
	string _picName;
	Ogre::SceneNode* _picRootNode;
	float _scale;
	Ogre::SceneNode* _picNode;
	Ogre::Entity* _picEntity;
	Ogre::ManualObject* _picManual;
};
